package chat.managers;

import android.app.Service;
import android.content.Context;
import android.os.Vibrator;

/**
 * Created by 凯 on 2015/12/15.
 */
public class Vibreater {

    public static void Vibrate(final Context context, long milliseconds) {
        Vibrator vib = (Vibrator) context.getSystemService(Service.VIBRATOR_SERVICE);
        vib.vibrate(milliseconds);

    }
}
